package fem2;

import inf.text.ArrayFormat;

public class IntegrationPoint {
	public double[] point;
	public double weight;

	public IntegrationPoint(double[] point, double weight) {
		this.point = point;
		this.weight = weight;
	}

	public double[] getPoint() {
		return this.point;
	}

	public double getWeight() {
		return this.weight;
	}

	@Override
	public String toString() {
		return ArrayFormat.format(point) + ", " + weight;
	}
}
